//
//  CustomTabBar.h
//  lcf-newproject
//
//  Created by yangyang on 14-11-11.
//  Copyright (c) 2014年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CustomTabBar;
@protocol CustomTabBarDelegate <NSObject>
//告知外部，调用的是哪个按钮
-(void)customTabBar:(CustomTabBar *)custom didSelectedIndex:(NSInteger)index;

@end

//自定义标签栏
@interface CustomTabBar : UIView

@property (weak,nonatomic)id <CustomTabBarDelegate> delegate;


-(void)createTabBarWithFrame:(CGRect)frame tabBarDic:(NSDictionary *)dict;
-(void)hideTabBar:(BOOL)hidden;

@end
